<article class="module width_full">
    <header>
        <h3><?php echo $title ?></h3>
    </header>
    <table class="tablesorter" cellspacing="0"> 
        <thead> 
            <tr>
                <th>#</th> 
                <th>Tên nhóm</th> 
                <th>Mô tả</th> 
                <th>Cập nhật lần cuối lúc</th> 
                <th>Ngày tạo</th> 
                <th>Trạng thái</th> 
                <th>Hành động</th> 
            </tr> 
        </thead> 
        <tbody> 
            <?php if ($items): ?>                
                <?php foreach ($items as $item): ?>
                    <tr>                             
                        <td><?php echo $item['ug_id'] ?></td> 
                        <td><?php echo $item['ug_name'] ?></td> 
                        <td><?php echo $item['ug_desc'] ?></td> 
                        <td><?php echo date('Y-m-d H:i:s', $item['ug_updated']) ?></td> 
                        <td><?php echo date('Y-m-d H:i:s', $item['ug_created']) ?></td> 
                        <td><?php echo status_text($item['ug_status']) ?></td> 
                        <td>
                            <?php echo edit_text('user/group_form/' . $item['ug_id']) ?>
                            <?php echo delete_text('user/group_delete/' . $item['ug_id']) ?>
                        </td> 
                    </tr>        
                <?php endforeach; ?>
            <?php else: ?>
                <tr>
                    <td colspan="5">Không có dữ liệu</td>
                </tr>
            <?php endif; ?>
        </tbody> 
    </table>


</article><!-- end of content manager article -->